package com.yami.shop.vo.advice;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 系统通知-单个用户不落地通知
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdviceVo implements Serializable {

    @NotEmpty(message = "用户不能为空")
    @Schema(description = "用户ids", required = true)
    private List<String> userIds;

    @Schema(description = "通知栏显示标题")
    private String title;

    @Schema(description = "推送消息内容")
    private String pushContent;

    @Schema(description = "ios结构")
    private AdviceIosVo iosVo;

    @Schema(description = "android结构")
    private AdviceAndroid androidVo;
}
